package com.gugee.ins.common.dal.mapper.mark;

import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * ins大博主总榜月排行表 Mapper 接口
 * </p>
 *
 * @author HuangXin
 * @since 2021-01-06
 */
public interface InsRkBloggerFlMonthExtMapper extends InsRkBloggerFlMonthMapper {
    /**
     * 月榜
     * @param dateCode
     * @param rankMonth
     * @param lastRankMonth
     * @param nation
     * @param category
     * @param now
     */
    void insertRkBloggerFlMonth(@Param("dateCode") int dateCode, @Param("rankMonth") int rankMonth,
                                @Param("lastRankMonth") int lastRankMonth, @Param("nation") String nation,
                                @Param("category") String category, @Param("now")long now);

    /**
     * 根据时间更新月榜的er和点赞
     * @param dateCode
     * @param limitTime
     */
    void updateErAndLike(@Param("dateCode") int dateCode,@Param("limitTime") long limitTime);
}
